<template name="resetPasswd">
<form id="new-passwd" class="list-block x7-resetpasswd-content">
  <ul>
  	 <li>
      <div class="item-content">
        <div class="item-inner">
          <div class="item-input x7-resetpasswd-input">
            <input id="oldPasswd" type="password" name="oldPasswd" placeholder="请输入老密码" onkeyup="value=value.replace(/[\W]/g,'')" 
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
          </div>
        </div>
      </div>
    </li>
    <li>
      <div class="item-content">
        <div class="item-inner">
          <div class="item-input x7-resetpasswd-input">
            <input id="newPasswd" type="password" name="newPasswd" placeholder="请输入新密码" onkeyup="value=value.replace(/[\W]/g,'')" 
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
          </div>
        </div>
      </div>
    </li>
    <li>
      <div class="item-content">
        <div class="item-inner">
          <div class="item-input">
            <input id="repeat" type="password" name="repeat" placeholder="请再次输入" onkeyup="value=value.replace(/[\W]/g,'')" 
onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
          </div>
        </div>
      </div>
    </li>
  </ul>
</form>
 

 <a class="button form-to-data">提交</a>
</template>